package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.RProInvoiceRecd;

/**
 * 开票货品明细
 * Created by wangyanan on 2016/7/13.
 */
public class ReceiptDetailListActivity extends TableHeaderActivity {
  private ReceiptDetailListFragment mFragament;

  @Override protected Fragment createFragment() {
    RProInvoiceRecd mDetail =
        (RProInvoiceRecd) getIntent().getSerializableExtra(ReceiptInfoFragment.EXTRA_RECEIPT);
    return mFragament = ReceiptDetailListFragment.newInstance(mDetail);
  }

  @Override public void onBackPressed() {
    mFragament.unSaveHint();
  }
}
